package jndi.ldap.domains;

public class ADUser {
    /**
     * This attribute contains the UPN that is an Internet-style login name for
     * a user based on the Internet standard RFC 822. The UPN is shorter than
     * the distinguished name and easier to remember. By convention, this should
     * map to the user email name. The value set for this attribute is equal to
     * the length of the user's ID and the domain name. For more information
     * about this attribute, see the Naming Properties topic in the Active
     * Directory guide.
     */
    String userPrincipalName;
    /**
     * The logon name used to support clients and servers running earlier
     * versions of the operating system, such as Windows NT 4.0, Windows 95,
     * Windows 98, and LAN Manager. This attribute must be less than 20
     * characters to support earlier clients.
     */
    String sAMAccountName;
    /**
     * Flags that control the behavior of the user account.
     */
    int userAccountControl;

    public ADUser() {
    }

    public String getUserPrincipalName() {
        return userPrincipalName;
    }

    public void setUserPrincipalName(String userPrincipalName) {
        this.userPrincipalName = userPrincipalName;
    }

    public String getsAMAccountName() {
        return sAMAccountName;
    }

    public void setsAMAccountName(String sAMAccountName) {
        this.sAMAccountName = sAMAccountName;
    }

    public int getUserAccountControl() {
        return userAccountControl;
    }

    public void setUserAccountControl(int userAccountControl) {
        this.userAccountControl = userAccountControl;
    }
}